package com.itheima.demos.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ghy
 * @version 1.0
 * @since 2025-08-03 10:45
 */
@RestController
@RequestMapping("/depts")
public class DeptController {

    @GetMapping("/list")
    public String list() {
        return "dept list";
    }

}
